package com.owen.system.keep.history.dao;

import com.owen.system.keep.history.entity.KeepConsumptionHistory;
import com.owen.system.keep.history.vo.KeepConsumptionHistoryVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 收支记录
 */
public interface KeepConsumptionHistoryDao {

    KeepConsumptionHistoryVO get(@Param("id") String id);

    List<KeepConsumptionHistoryVO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(KeepConsumptionHistory keepAccount);

    int update(KeepConsumptionHistory keepAccount);

    int remove(@Param("id") String id);

    int batchRemove(String[] ids);

}
